<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{sdSaleOrderCustContactBean.page}"/>
		<f:event type="preRenderView" listener="#{sdSaleOrderCustContactBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Sd Sale Order Cust Contact entities"/>

	<ui:define name="header">
		Sd Sale Order Cust Contact
	</ui:define>

	<ui:define name="subheader">
		Search Sd Sale Order Cust Contact entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="sdSaleOrderCustContactBeanExampleSdSaleOrder" value="Sd Sale Order:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sdSaleOrderBean.converter}" id="sdSaleOrderCustContactBeanExampleSdSaleOrder" value="#{sdSaleOrderCustContactBean.example.sdSaleOrder}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdSaleOrderBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sdSaleOrderCustContactBeanExampleSdSaleOrder" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdSaleOrderCustContactBeanExampleSysTitleName" value="Sys Title Name:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sysTitleNameBean.converter}" id="sdSaleOrderCustContactBeanExampleSysTitleName" value="#{sdSaleOrderCustContactBean.example.sysTitleName}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysTitleNameBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sdSaleOrderCustContactBeanExampleSysTitleName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdSaleOrderCustContactBeanExampleSoCustContactFirstName" value="So Cust Contact First Name:"/>
						<h:panelGroup>
							<h:inputText id="sdSaleOrderCustContactBeanExampleSoCustContactFirstName" maxLength="50" value="#{sdSaleOrderCustContactBean.example.soCustContactFirstName}"/>
							<h:message for="sdSaleOrderCustContactBeanExampleSoCustContactFirstName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdSaleOrderCustContactBeanExampleSoCustContactMidName" value="So Cust Contact Mid Name:"/>
						<h:panelGroup>
							<h:inputText id="sdSaleOrderCustContactBeanExampleSoCustContactMidName" maxLength="50" value="#{sdSaleOrderCustContactBean.example.soCustContactMidName}"/>
							<h:message for="sdSaleOrderCustContactBeanExampleSoCustContactMidName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdSaleOrderCustContactBeanExampleSoCustContactLastName" value="So Cust Contact Last Name:"/>
						<h:panelGroup>
							<h:inputText id="sdSaleOrderCustContactBeanExampleSoCustContactLastName" maxLength="50" value="#{sdSaleOrderCustContactBean.example.soCustContactLastName}"/>
							<h:message for="sdSaleOrderCustContactBeanExampleSoCustContactLastName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{sdSaleOrderCustContactBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{sdSaleOrderCustContactBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="sdSaleOrderCustContactBeanPageItems" styleClass="data-table" value="#{sdSaleOrderCustContactBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Sale Order"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdSaleOrder" value="#{forgeview:display(_item.sdSaleOrder)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Title Name"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysTitleName" value="#{forgeview:display(_item.sysTitleName)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Contact First Name"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustContactFirstName" value="#{_item.soCustContactFirstName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Contact Mid Name"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustContactMidName" value="#{_item.soCustContactMidName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="So Cust Contact Last Name"/>
					</f:facet>
					<h:link outcome="/sdSaleOrderCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSoCustContactLastName" value="#{_item.soCustContactLastName}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{sdSaleOrderCustContactBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
